<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class App_View_Helper_Notice extends Zend_View_Helper_Abstract {
    public $startColor = 16764142;
    public $messages = array();




    public function notice($message = "no message"){
        $this->startColor -= 6000;
        $this->messages[] = $message;
        $out = "<div style='padding:4px; text-algin:center; background:#".dechex($this->startColor)."'>";
        foreach ($this->messages as $v){
            $out .= "{$v}";
        }
        return $out."</div>";
    }
}
